import { IsEmail, IsNotEmpty } from 'class-validator';

export class SendCodeDto {
  @IsEmail({}, { message: '不是合法的邮箱格式' })
  email: string;
}
